import Https from "@/utils/Https";

//员工列表
export const queryPageDataReq = async (params) =>
  await Https.post("/holiday/staffHolidayList", params);
// 新增配置
export const addItemReq = async (params) =>
  await Https.post("/holiday/staffHolidayConfig", params, true);
export const updateItemReq = async (params) =>
  await Https.post("/holiday/updateSingleHoliday", params, true);
export const deleteItemReq = async (params) =>
  await Https.post("/holiday/logicDeleteHoliday", params, true);

export const queryItemInfoReq = async (params) =>
  await Https.post("/tables", params);

export const toggleStateReq = async (params) =>
  await Https.post("/tables", params, true);

// 该租户下的指定场馆下的员工信息
export const queryStaffAllListReq = async (params) =>
  await Https.post("/holiday/staffAllList", params);
